package com.puman.beautyfarmcounselor.ui.home.model;

/**
 * Created by puman on 15/7/28.
 * 当月业绩
 */
public class HomeAchieve {


    /**
     * msg : 成功
     * flag : true
     * data : {"income":0,"passenger_flow":0,"comes_count":0,"sorts":0,"new_merber_count":0}
     */
    private String msg;
    private boolean flag;
    private DataEntity data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public class DataEntity {
        /**
         * income : 0
         * passenger_flow : 0
         * comes_count : 0
         * sorts : 0
         * new_merber_count : 0
         */
        private int income;
        private int passenger_flow;
        private int comes_count;
        private int sorts;
        private int new_merber_count;

        public void setIncome(int income) {
            this.income = income;
        }

        public void setPassenger_flow(int passenger_flow) {
            this.passenger_flow = passenger_flow;
        }

        public void setComes_count(int comes_count) {
            this.comes_count = comes_count;
        }

        public void setSorts(int sorts) {
            this.sorts = sorts;
        }

        public void setNew_merber_count(int new_merber_count) {
            this.new_merber_count = new_merber_count;
        }

        public int getIncome() {
            return income;
        }

        public int getPassenger_flow() {
            return passenger_flow;
        }

        public int getComes_count() {
            return comes_count;
        }

        public int getSorts() {
            return sorts;
        }

        public int getNew_merber_count() {
            return new_merber_count;
        }
    }
}
